package com.sunda.spmswms.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 异常出入库任务表
 * </p>
 *
 * @author Wayne
 * @since 2021-06-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("WHS_OTHER_TASK")
@ApiModel(value="WhsOtherTask对象", description="异常出入库任务表")
public class WhsOtherTask implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "异常出入库任务表主键UUID")
    @TableId("UUID")
    private String uuid;

    @ApiModelProperty(value = "异常出入库SPMS单号")
    @TableField("SPMS_ID")
    private String spmsId;

    @ApiModelProperty(value = "移动类型 卸货入库-311 赠品入库-511(对冲512) 串货调整-309(对冲310）报废-551(冲销552) 样品领用-Z09(冲销Z10) 仓库工具领用-Z21(冲销Z22) 其他公司领用-Z23(冲销Z24) 退货出库-161(冲销162) 委外加工发货出库-541(冲销542)")
    @TableField("MOVEMENT_TYPE")
    private String movementType;
    @ApiModelProperty(value = "移动类型 卸货入库-311 赠品入库-511(对冲512) 串货调整-309(对冲310）报废-551(冲销552) 样品领用-Z09(冲销Z10) 仓库工具领用-Z21(冲销Z22) 其他公司领用-Z23(冲销Z24) 退货出库-161(冲销162) 委外加工发货出库-541(冲销542)")
    @TableField("SAP_MOVEMENT_TYPE")
    private String sapMovementType;


    @ApiModelProperty(value = "工厂代码")
    @TableField("WERKS")
    private String werks;

    @ApiModelProperty(value = "仓库代码")
    @TableField("WHS_LOCATION_CODE")
    private String whsLocationCode;

    @ApiModelProperty(value = "SAP凭证号")
    @TableField("SAP_VOUCHER_NUMBER")
    private String sapVoucherNumber;

    @ApiModelProperty(value = "SAP凭证年份")
    @TableField("SAP_VOUCHER_YEAR")
    private String sapVoucherYear;

    @ApiModelProperty(value = "SAP凭证日期")
    @TableField("DOCUMENT_DATE")
    private String documentDate;

    @ApiModelProperty(value = "过帐日期")
    @TableField("POSTING_DATE")
    private String postingDate;

    @ApiModelProperty(value = "操作员ID")
    @TableField("CREATE_USERID")
    private String createUserid;

    @ApiModelProperty(value = "SAP采购订单号")
    @TableField("SAP_PO")
    private String sapPo;

    @ApiModelProperty(value = "SAP采购订单类型")
    @TableField("SAP_ORDER_TYPE")
    private String sapOrderType;

    @ApiModelProperty(value = "采购组")
    @TableField("PURCHASE_GROUP")
    private String purchaseGroup;

    @ApiModelProperty(value = "采购组名称")
    @TableField("PURCHASE_GROUP_NAME")
    private String purchaseGroupName;

    @ApiModelProperty(value = "关联凭证号")
    @TableField("RELATED_VOUCHER_NUMBER")
    private String relatedVoucherNumber;

    @ApiModelProperty(value = "关联凭证年度")
    @TableField("RELATED_VOUCHER_YEAR")
    private String relatedVoucherYear;

    @ApiModelProperty(value = "关联凭证日期")
    @TableField("RELATED_DOCUMENT_DATE")
    private String relatedDocumentDate;

    @ApiModelProperty(value = "关联过帐日期")
    @TableField("RELATED_POSTING_DATE")
    private String relatedPostingDate;

    @ApiModelProperty(value = "成本中心")
    @TableField("COST_CENTER")
    private String costCenter;

    @ApiModelProperty(value = "装箱单号")
    @TableField("PACKAGE_LIST")
    private String packageList;

    @ApiModelProperty(value = "货物类型 X-备件 M-贸易")
    @TableField("GOODS_TYPE")
    private String goodsType;

    @ApiModelProperty(value = "单据状态 0-作废 1-草稿 2-操作中 3-待提交SAP 4-提交SAP成功 5-提交SAP失败 6-关闭")
    @TableField("TASK_STATUS")
    private String taskStatus;

    @ApiModelProperty(value = "创建日期")
    @TableField("CREATE_DATE")
    private String createDate;

    @ApiModelProperty(value = "创建时间，系统产生")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "包装单号")
    @TableField("PACKAGE_NOTE")
    private String packageNote;

    @ApiModelProperty(value = "SAP交货单号")
    @TableField("DELIVERY_NOTE_SRM")
    private String deliveryNoteSrm;

    @ApiModelProperty(value = "关联单据号码")
    @TableField("RELATED_TASK_ID")
    private String relatedTaskId;

    @ApiModelProperty(value = "更新时间")
    @TableField("UPDATE_TIME")
    private Date updateTime;

    @ApiModelProperty(value = "备注")
    @TableField("REMARKS")
    private String remarks;

    @ApiModelProperty(value = "SAP交货单号")
    @TableField("DELIVERY_NOTE_SAP")
    private String deliveryNoteSap;

    @ApiModelProperty(value = "移出工厂代码")
    @TableField("WERKS_MOVE_OUT")
    private String werksMoveOut;

    @ApiModelProperty(value = "移出仓库代码")
    @TableField("WHS_LOCATION_CODE_MOVE_OUT")
    private String whsLocationCodeMoveOut;

    @ApiModelProperty(value = "移出备注")
    @TableField("MOVE_OUT_REMARK")
    private String moveOutRemark;

    @ApiModelProperty(value = "移入工厂代码")
    @TableField("WERKS_MOVE_IN")
    private String werksMoveIn;

    @ApiModelProperty(value = "移入仓库代码")
    @TableField("WHS_LOCATION_CODE_MOVE_IN")
    private String whsLocationCodeMoveIn;

    @ApiModelProperty(value = "移入备注")
    @TableField("MOVE_IN_REMARK")
    private String moveInRemark;

    @ApiModelProperty(value = "实际装柜日期")
    @TableField("ACTUAL_LOADING_DATE")
    private String actualLoadingDate;

    @ApiModelProperty(value = "监装人员")
    @TableField("MONITOR_LOADING")
    private String monitorLoading;
    @ApiModelProperty(value = "货柜检验结果")
    @TableField("CABINET_CHECK_RESULT")
    private String cabinetCheckResult;

    @ApiModelProperty(value = "铅封号")
    @TableField("LEAD_SEAL")
    private String leadSeal;

    @ApiModelProperty(value = "空柜重量")
    @TableField("EMPTY_CABINET_WEIGHT")
    private Double emptyCabinetWeight;

    @ApiModelProperty(value = "可装柜日期")
    @TableField("DATE_OF_LOADING")
    private String dateOfLoading;

    @ApiModelProperty(value = "柜号")
    @TableField("CABINET_NUMBER")
    private String cabinetNumber;

    @ApiModelProperty(value = "柜序号")
    @TableField("CABINET_SERIAL_NUMBER")
    private String cabinetSerialNumber;

    @ApiModelProperty(value = "撤销备注信息")
    @TableField("CANCEL_REMARK")
    private String cancelRemark;

    @ApiModelProperty(value = "SAP撤销凭证号")
    @TableField("CANCEL_VOUCHER_NUMBER")
    private String cancelVoucherNumber;

    @ApiModelProperty(value = "SAP撤销凭证年份")
    @TableField("CANCEL_VOUCHER_YEAR")
    private String cancelVoucherYear;

    @ApiModelProperty(value = "SAP撤销日期(手输默认过账日期)")
    @TableField("CANCEL_DATE")
    private String cancelDate;

    @ApiModelProperty(value = "操作员/现场搬运工计费")
    @TableField("OPERATE_USER")
    private String operateUser;

    @ApiModelProperty(value = "移动原因")
    @TableField("JUSTIFICATION")
    private String justification;

}
